package org.colafries.admin.querybuilder.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Ann
 * @version v1.0
 * @ClassName SqlQueryContext
 * @Description
 * @date Created in 2024/6/20
 **/
@Data
public class SqlBuildContext {
    @ApiModelProperty(value = "select 表达式")
    private List<String> selectColumns = new ArrayList<>();

    @ApiModelProperty(value = "group by 表达式")
    private List<String> groupByColumns = new ArrayList<>();

    @ApiModelProperty(value = "having 条件表达式")
    private List<String> havingConditions = new ArrayList<>();

    @ApiModelProperty(value = "where 条件表达式", dataType = "List", example = "")
    private List<String> whereConditions = new ArrayList<>();

    @ApiModelProperty(value = "order by 表达式")
    private List<String> orderByColumns = new ArrayList<>();
}
